]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
swipeTracker: Remove unused property
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 11 Mar 2021 15:08:41 +0000 (16:08 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 13 Mar 2021 22:32:23 +0000 (22:32 +0000)
The :allow-long-swipes GObject property relies on the automatic
getter/setter added by gjs and is not actually backed by
_allowLongSwipes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1765>

js/ui/swipeTracker.js

index 9c3671d3cff1569182f006dfc00a8db16c2cb413..f5f4dbb8003839c600a8b0c9cfceb06835d681e4 100644 (file)
@@ -471,7 +471,6 @@ var SwipeTracker = GObject.registerClass({
         this.orientation = orientation;
         this._allowedModes = allowedModes;
         this._enabled = true;
-        this._allowLongSwipes = false;
         this._distance = global.screen_height;
         this._history = new EventHistory();
         this._reset();